package groupb6.shopsystem.service;

import groupb6.shopsystem.pojo.entity.Order;
import groupb6.shopsystem.pojo.entity.Store;
import groupb6.shopsystem.util.response.UniversalResponse;

import java.util.List;

public interface AdminService {

    UniversalResponse<Store> getStoreDetailByStoreId(Integer id);

    UniversalResponse<List<Store>> getStoresByStatus(Integer status);

    UniversalResponse<?> approveStore(Integer storeId, Boolean approve, Integer userId);

    UniversalResponse<List<Store>> getAllStore();

    void notifySeller(Integer storeId, Boolean approval);

    UniversalResponse<List<Order>> listShippedOrders();

    UniversalResponse<?> deliveredShippedOrders();

    UniversalResponse<?> orderDelivered(Integer orderId);

    void sendDyMessage(Integer toUserId, Boolean result) throws Exception;
}
